package com.itheima.tliasmanagement.service;

import com.itheima.tliasmanagement.dto.AddStudentDto;
import com.itheima.tliasmanagement.dto.StudentListDto;
import com.itheima.tliasmanagement.dto.UpdateStudentDto;
import com.itheima.tliasmanagement.vo.PageBean;
import com.itheima.tliasmanagement.vo.StudentListVo;

import java.util.List;

public interface StudentService {
    PageBean<StudentListVo> pageQuery(StudentListDto dto);

    void addStudent(AddStudentDto dto);

    StudentListVo getById(Integer id);

    void updateStudent(UpdateStudentDto dto);

    void deleteByIds(List<Integer> ids);

    void violation(Integer id, Integer score);
}
